package com.wawayaya.ui.bookcover;

import android.support.v7.widget.RecyclerView;
import android.view.View;
import android.widget.ImageView;
import android.widget.TextView;
import wawayaya.kids_iread.R;


public class BookCoverHolder extends RecyclerView.ViewHolder{

    public ImageView m_iv = null;
    public ImageView m_iv_border = null;

    public TextView m_tvBookname = null;
    public TextView m_tvBookgrade = null;
    public TextView m_tvdownloadstatus = null;
    public ImageView m_llbookok = null;
    public ImageView m_llbookremove = null;
    public ImageView m_llbookinprocess = null;
    public ImageView m_llbooktryfree = null;

    public BookCoverHolder(View v) {
        super(v);
        try {
            m_iv = (ImageView) v.findViewById(R.id.iv_bookcover);
            m_iv_border = (ImageView)v.findViewById(R.id.iv_bookcover_border);

            m_tvdownloadstatus = (TextView) v.findViewById(R.id.tv_downloadstatus);
            m_tvBookname = (TextView) v.findViewById(R.id.tv_bookname);
            m_tvBookgrade = (TextView) v.findViewById(R.id.tv_bookgrade);
            m_llbookok = (ImageView) v.findViewById(R.id.iv_bookok);
            m_llbookremove = (ImageView) v.findViewById(R.id.iv_bookdelete);
            m_llbookinprocess = (ImageView) v.findViewById(R.id.iv_bookinprocess);
            m_llbooktryfree = (ImageView) v.findViewById(R.id.iv_book_try_free);
        } catch (Exception e) {
            e.printStackTrace();
        }
    }



}
